package wang;

import java.util.Arrays;
import java.util.List;

/**
 * Created with IDEA
 * author:Yhk
 * Date:2019/3/7
 * Time:4:09 PM
 */
public class mian {


    mian(Object... objs) {

        for (Object obj : objs) {
            obj = null;
        }

    }

    private static void initTestObjs(Object... objs) {
        for (Object obj : objs) {
            obj = null;
        }
    }


    public static void main(String[] args) {

        Integer integer = 1;
        String s = "2";
        List<String> list = Arrays.asList("3");

        initTestObjs(integer, s, list);

        initimpl initimpl = new initimpl();
        initproxy proxy = new initproxy();
        init bookfacade = (init) proxy.bind(initimpl);
        bookfacade.init(integer, s, list);

        System.out.println(integer);
        System.out.println(s);
        System.out.println(list);

    }
}
